package com.bruan.threadsafe_method;

public class Test {
    public static void main(String[] args) {
        //船舰账户对象
        Account acc = new Account("ICBC-110",100000);
        //创建线程
        new DrawThread(acc,"小明").start();//小明
        new DrawThread(acc,"小红").start();//小红
    }
}
